Platform Explorer / Nuxeo Platform LTS 2017 9.10

Operation Blob.SetMetadataFromDocument (Write Metadata To Binary From Document)

Description

Write metadata to a Blob (xpath parameter, or BlobHolder if empty) from a document (input) given a custom metadata mapping defined in a Properties parameter, using a named processor (exifTool for instance).
Operation id Blob.SetMetadataFromDocument
AliasesBinary.WriteMetadataFromDocument
Category Files
Label Write Metadata To Binary From Document
Requires
Since 7.1

Parameters

Name Description Type Required Default value
metadata properties yes  
blobXPath string no  
ignorePrefix boolean no  
processor string no  
save boolean no true 

Signature

Inputs document
Outputs document

Implementation Information

Implementation Class Class: org.nuxeo.binary.metadata.internals.operations.WriteMetadataToBinaryFromDocument
Contributing Component org.nuxeo.binary.metadata

JSON Definition

{
  "id" : "Blob.SetMetadataFromDocument",
  "aliases" : [ "Binary.WriteMetadataFromDocument" ],
  "label" : "Write Metadata To Binary From Document",
  "category" : "Files",
  "requires" : null,
  "description" : "Write metadata to a Blob (xpath parameter, or BlobHolder if empty) from a document (input) given a custom metadata mapping defined in a Properties parameter, using a named processor (exifTool for instance).",
  "since" : "7.1",
  "url" : "Blob.SetMetadataFromDocument",
  "signature" : [ "document", "document" ],
  "params" : [ {
    "name" : "metadata",
    "description" : null,
    "type" : "properties",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "blobXPath",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "ignorePrefix",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "processor",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "save",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "true" ]
  } ]
}